package com.site_assembly.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.service.form.SiteForm;
import com.site_assembly.entity.Site;

/**
 * <p>
 * 子站点信息表 服务类
 * </p>
 *
 * @author Lucas
 * @since 2021-09-20
 */
public interface ISiteService extends IService<Site> {

    Integer addSite(SiteForm siteForm);

    IPage findSiteByPageAndOperatingState(String operatingState, Integer current, Integer pageSize);

    Integer setSiteOfOperatingStateBySiteNumber(String operatingState, String siteNumber);

    Integer getSiteIdByUserId(Integer userId);

}
